package com.ewanghuiju.app.model.bean.response;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class 商品规格
 * @time 2020/2/20
 */
public class PintuanGoodsSpecsResponBean {

    /* [
    {
        "name": "颜色",
            "name_value": "红色",
            "attribute": [
        {
            "attribute_name": "尺码",
                "primary_price": "8.00",
                "sell_price": "25.5",
                "stock": "100",
                "value": "XXL",
                "id": 7
        },
        {
            "attribute_name": "尺码",
                "value": "XXXL",
                "primary_price": "8.00",
                "sell_price": "25.5",
                "stock": "100",
                "id": 8
        },
        {
            "attribute_name": "尺码",
                "value": "XXXL",
                "primary_price": "8.00",
                "sell_price": "25.5",
                "stock": "100",
                "id": 9
        },
        {
            "attribute_name": "尺码",
                "primary_price": "20",
                "sell_price": "10",
                "stock": "1000",
                "value": "L",
                "id": 13
        }
            ]
    }
    }
    ]*/

    public String name_value;
    public String name;
    public String sell_price;
    public String attribute_name;
    public int id;
    public String stock;
    public String value;
    public String primary_price;
    private List<PintuanGoodsSpecsResponBean> attribute;

    private boolean isSelected;

    public String getName_value() {
        return name_value;
    }

    public void setName_value(String name_value) {
        this.name_value = name_value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSell_price() {
        return sell_price;
    }

    public void setSell_price(String sell_price) {
        this.sell_price = sell_price;
    }

    public String getAttribute_name() {
        return attribute_name;
    }

    public void setAttribute_name(String attribute_name) {
        this.attribute_name = attribute_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getPrimary_price() {
        return primary_price;
    }

    public void setPrimary_price(String primary_price) {
        this.primary_price = primary_price;
    }

    public List<PintuanGoodsSpecsResponBean> getAttribute() {
        return attribute;
    }

    public void setAttribute(List<PintuanGoodsSpecsResponBean> attribute) {
        this.attribute = attribute;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }
}
